Skip to content

#2763#424

Merged
a-pasquale merged 9 commits into
3.0.xfrom
d8-2763
Jun 26, 2026
Merged

#2763#424
a-pasquale merged 9 commits into
3.0.xfrom
d8-2763

Conversation

@protitude

@protitude protitude commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Describe context / purpose for this PR

Access module phpcs/phpstan fixes

Issue link

https://cyberteamportal.atlassian.net/browse/D8-2763

Any other related PRs?

Link to MultiDev instance

http://md-2763-accessmatch.pantheonsite.io

Checklist for PR author

  • I have checked that the PR is ready to be merged
  • I have reviewed the DIFF and checked that the changes are as expected
  • I have assigned myself or someone else to review the PR

fix phpcs/phpstan
fix phpcs/phpstan
fix phpcs/phpstan
fix phpcs/phpstan
fix phpcs/phpstan
@protitude protitude mentioned this pull request Jun 19, 2026
3 tasks
protitude and others added 3 commits June 25, 2026 10:13
A few small tweaks
The 150-character summary limit was only a soft hint: the eventseries
form textarea carried an HTML #maxlength and the AI-suggestion helper
trimmed its output, but neither is server-enforced, so a hand-entered or
pasted summary could be saved at any length and the events API returned
it verbatim (e.g. a 648-char summary failing the events-api 150-char
spec).

Add a server-side check in access_events_eventseries_validate that
rejects a summary over 150 characters, reading summary_text from raw
input the same way the save handler does. Also cap the value in the
SearchApiPlainText views field so the API output respects the limit for
historical data already over 150.
@a-pasquale a-pasquale merged commit 1723cb7 into 3.0.x Jun 26, 2026
@a-pasquale a-pasquale deleted the d8-2763 branch June 26, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants